package com.szosen.measurement;

import java.util.HashMap;
import java.util.Map;

public class MYECGTable {
	// 表名
	public final static String TABLE_NAME = "tableName";
	// 表名关键字
	public static final String TABLE_NAMEMYECG = "myecg";
	// 姓名
	public static final String NAME = "name";
	// 用户Id
	public static final String CARD_ID = "cardId";
	// orgId
	public static final String ORG_ID = "orgId";
	// 测量时间
	public static final String APPLICATION_ID = "applicationId";
	// 测量时间
	public static final String CHECKTIME = "checkTime";
	// 测量的结果结论
	public static final String CHECKRESULT = "checkResult";
	// 测量的状态
	public static final String CHECKSTATE = "checkState";

	// 建表描述
	public static Map<String, String> myecgable() {
		Map<String, String> map = new HashMap<String, String>();
		map.put(MYECGTable.TABLE_NAME, TABLE_NAMEMYECG);
		map.put(CARD_ID, "varchar(20)");
		map.put(APPLICATION_ID, "varchar(50)");
		map.put(CHECKTIME, "varchar(20)");
		map.put(CHECKRESULT, "varchar(200)");
		map.put(ORG_ID, "varchar(30)");
		map.put(CHECKSTATE, "varchar(10)");
		map.put(NAME, "varchar(10)");
		return map;
	}
}
